Skip to main content
PUT
/
v1
/
log-repositories
Update log repository
curl --request PUT \
  --url https://api.getmaxim.ai/v1/log-repositories \
  --header 'Content-Type: application/json' \
  --header 'x-maxim-api-key: <api-key>' \
  --data '{
  "id": "<string>",
  "name": "<string>",
  "description": "<string>",
  "folderId": "<string>",
  "customPricingStructureId": "<string>"
}'
{
  "data": {
    "id": "<string>",
    "name": "<string>",
    "description": "<string>",
    "workspaceId": "<string>",
    "folderId": "<string>",
    "config": {},
    "customPricingStructureId": "<string>",
    "createdAt": "<string>",
    "updatedAt": "<string>"
  }
}

Authorizations

x-maxim-api-key
string
header
required

API key for authentication

Body

application/json
id
string
required

Log repository ID to fetch specific repository

name
string
required

Name of the log repository

description
string

Description of the log respository

folderId
string | null

Optional ID of the folder containing the repository

customPricingStructureId
string

Optional custom pricing structure ID

Response

Log repository updated successfully

data
object
required
I